Skip to content

docs(skills): objectstack-data names actionLayout among the pair-only keys; objectstack-automation says an option label in a flow filter or edge condition is refused - #37551

Merged
os-zhuang merged 2 commits into
mainfrom
claude/issue-37057-skill-sentences-follow-lint
Nov 26, 2026
Merged

os-zhuang merged 2 commits into
mainfrom
claude/issue-37057-skill-sentences-follow-lint

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

Fixes #37057

Part of #37504 (item 1 only; its item 2, the os explain text, remains on that card)

Clause-②: no
Metadata-protocol: none

Fold note: one PR for two shipped skill sentences that lag a landed rule, card 37057 item 2 (objectstack-data) and card 37504 item 1 (objectstack-automation).

维护者速读

  • 用户能看到什么变化:用户无感;装了数据建模和流程自动化技能包的 AI 助手读到的两句说明改对了:一句补上「按钮顺序」也只能由配对的定制包来写,一句不再说流程过滤条件里写选项显示名「不会被检查」。
  • 为什么做:属于「已发布技能说明跟上已落地规则」的收尾;原来两句话都比平台实际的校验说得少,助手照着写会被校验拦下却不知道原因。
  • 出错会怎样:只改了说明文字,写错了最多是助手读到不准确的说明;撤回这一个改动即可恢复。
  • 要你做什么:无。

What changes

1. skills/objectstack-data/SKILL.md, "Object Extension Model" (card 37057 item 2)

Before:

Only the pair's extension may also write fieldGroups and relatedLists, shaped as on an object. [...] Outside a .custom package both keys are refused at those doors: use place.

After:

Only the pair's extension also writes fieldGroups, relatedLists and actionLayout (objectstack-ui), shaped as on an object. A written key replaces that arrangement whole (the owner's and every place; actionLayout, each arm it writes): [...] Outside a .custom package they are refused at those doors: use place, or for an action its own locations and order.

Source, read at 1af67b26cd: CUSTOM_ARRANGEMENT_KEYS in packages/spec/src/data/field-customization.ts is ['fieldGroups', 'relatedLists', 'actionLayout'], and its docblock names the one judge that refuses the three outside .custom at publish, os validate / os build and install. The two qualifiers are that docblock's and the judge's own: "actionLayout replaces the owner's arm for each scope it writes (list, record), and an arm it does not write stays", and the actionLayout entry of PRESCRIPTION in packages/metadata-protocol/src/protocol-extension-arrangement.ts, "place an action this package brings by the action's own locations and order" (contract review S1, record 7193228650, answered at 5040c6d6e4). The pointer to objectstack-ui is there because objectstack-data teaches no actionLayout shape; skills/objectstack-ui/rules/actions.md does, and already points back at this sentence.

Paid for in the same file, no ceiling raised and scripts/check-skills-token-ratchet.mjs not edited:

  • "may also write" is now "also writes", "both keys" is now "they", and the second "still shows" in "an unnamed tab still shows after the listed ones" is dropped (the clause before it carries the verb);
  • the Quick Reference line for Index Strategy loses ", partial indexes": the Index Patterns pointer to the same rules file already names "partial / gin / gist indexes at the database layer";
  • the Quick Reference lines for Naming Conventions and Field Types keep their links and lose their glosses ("snake_case rules, option values, config properties", "All field types and configs"): "Naming Rules Summary" and "Field Type Selection" under Common Patterns say the same and link the same two files.

2. skills/objectstack-automation/SKILL.md, trap 4 (card 37504 item 1)

Before:

A start condition: "record.status == 'Lost'" or fields: { status: 'Lost' } is refused at publish (inline options), else matches no row or fails the run (invalid_option). A label in a filter or an edge condition is never checked: it silently matches nothing.

After:

A start or edge condition: "record.status == 'Lost'", or filter / fields: { status: 'Lost' }, is refused at publish (inline options), else matches no row or fails the run (invalid_option); a filter for rows still holding the label takes a CEL envelope operand.

Source, read at 1af67b26cd (which carries PR 37491): the FLOW_CONDITION_OPTION_LABEL docblock in packages/lint/src/validate-flow-trigger-readiness.ts says the one id now also reads "an edge condition and a decision branch [...] and a query filter's operand (get_record / update_record / delete_record filter, a time-relative sweep's filter)", at error at every position. The rule entry in packages/lint/src/authoring-rules.ts is tier: 'gating' on the CLI and the runtime publish gate. The escape hatch is the rule's own text: "A filter that means to find rows still holding a label (a clean-up after an options change) spells the operand as a CEL value envelope, which is not judged"; optionLabelOperands in packages/lint/src/flow-select-options.ts skips every operand that is not a plain string.

The clause keeps the docblock's "rows still holding" sense, so it does not read as the way to filter by a display label (contract review N1). The new text is one byte longer than the text it replaces and fits the existing ceiling, so nothing else in that file moves.

Changeset: @objectstack/skills patch.

skills readings (lines, then tokens as check-skills-token-ratchet counts them)

Reading Before (1af67b26cd) After (5040c6d6e4)
objectstack-data/SKILL.md, whole file 471 lines · 26854 bytes · 6709 tokens (ceiling 6710, headroom 1) 472 lines · 26853 bytes · 6709 tokens (ceiling 6710, headroom 1)
objectstack-automation/SKILL.md, whole file 480 lines · 28198 bytes · 7045 tokens (ceiling 7045, headroom 0) 480 lines · 28199 bytes · 7045 tokens (ceiling 7045, headroom 0)
all skills/*/SKILL.md summed 4961 lines 4962 lines
whole shipped bundle 299320 tokens 299320 tokens

Net lines in skills/**: +1 (13 added, 12 removed), inside the +1 budget.

Tests

No code changed, so no test changed and nothing was ablated. Skill evals: NOT MEASURED, reason: no model runner in this container.

Local gates at head 5040c6d6e4 (the whole derived list was run again after the review round), each exit code captured before any pipe:

  • dispatch-gates --commands derived 50 families; 49 exit 0, among them node scripts/check-skills-token-ratchet.mjs (the two readings above), check:skill-docs ("Skill docs in sync"), check:skill-served-sections, check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:doc-authoring, check:doc-formula-expressions, check:nul-bytes, check:published-files, check-empty-changeset, check-adr-0087-registration, check:pm-governed-merges.
  • NOT MEASURED: check:dual-build-cjs-loads, reason: exit 3, PREREQUISITE NOT MET (it reads every package's dist; only the lint and client-react closures were built for a prose diff). check:dts-closure, check:lean-entry-closure and check:sourcemap-no-sources-content exit 0 over the packages built, a partial sweep. CI runs all four on a full build.
  • --ran reconciliation: "50 derived, 50 run, 0 NOT-MEASURED, 0 UNRUN" (its record carries no exit codes; the one above is the real not-measured count).
  • Outside the derived list: spec check:skill-examples exit 0 ("352 prose examples type-check across 3 surface(s)"), spec check:skill-refs exit 0.
  • overlap-check at 3f3ea1c913: "VERDICT overlap exit 1", naming PR 36158 alone (both files; expected and accepted in the claim on card 37057); with --exclude-pr=36158, at 5040c6d6e4 against origin/main 061e342242: "VERDICT clean exit 0".

Eval grep, for every phrase the diff removes:

  • skills/objectstack-automation/evals/**: "never checked", "silently matches", "A label in": 0 hits.
  • skills/objectstack-data/evals/**: "may also write", "partial index", "snake_case rules", "All field types": 0 hits. "both keys" and "still shows": 1 hit each, both in the expected_output of case 27 of objects-fields-relationships.json ("both keys are refused there [...] and the refusal prescribes place", "a tab it does not name still shows after the listed ones"). The skill still teaches both ("they are refused at those doors: use place", "an unnamed tab after the listed ones"); neither phrase is a must_contain token.

Acceptance notes

  • The automation sentence keeps the existing "(inline options), else matches no row" frame for the new positions. The rule is narrower than that frame in one corner: an edge condition is judged only on the trigger record or on a variable bound by one single-row get_record alone; a variable bound by anything else is not judged and falls under "else matches no row".
  • The skill names the edge condition and not the decision node's conditions[].expression, because its node table teaches branching "by edge condition predicates, not node config".

Verification

Read first:

  1. skills/objectstack-automation/SKILL.md, the hunk at line 325: the risk is the sentence claiming more than flow-condition-option-label refuses, or naming the envelope where it is judged (a start condition written as an envelope is still read; only a filter operand envelope is not).
  2. skills/objectstack-data/SKILL.md, the hunk at line 385: the risk is the three-key sentence against CUSTOM_ARRANGEMENT_KEYS, and whether the two actionLayout qualifiers say what the spec docblock and the judge's prescription say.
  3. skills/objectstack-data/SKILL.md, lines 34 to 38: the three paying cuts.

Two-minute check: node scripts/check-skills-token-ratchet.mjs, and expect objectstack-data/SKILL.md at 6709 tokens against ceiling 6710 and objectstack-automation/SKILL.md at 7045 against 7045, exit 0.

L2: contract review record 7193228650 (head 3f3ea1c913) left S1 open; 5040c6d6e4 answers it and owes a delta review that settles S1 by id before this lands. The seat lands it (governed surface, draft until then).

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgVUz5oS8fMgmncxU96

… keys; objectstack-automation says a label in a flow filter or edge condition is refused

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgVUz5oS8fMgmncxU96
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 26, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 3f3ea1c913c1fff7614ab9048605c48be82c153d
Local-runs: none
Scope: skills/objectstack-data/SKILL.md, skills/objectstack-automation/SKILL.md + none
Security-touching: no

Rendered by an isolated review agent from the brief's inputs alone: card #37057 and card #37504 (its item 1 is folded into this PR) with every comment, this PR's body, file list and net diff, and the check-runs on the head. Read 2026-11-26T13:20Z against origin/main at 061e342242; none of the two reviewed files or the code cited below moved between the PR base 1af67b26cd and that commit. No file in the diff implements or enforces the two skill files, so the scope adds none; the code named below sits outside the diff and was read, not reviewed.

① Derived judgments

  • Accept set: unchanged. Right. The diff is three files, one changeset and two SKILL.md. No schema, lint rule, runtime or gate file moves, so nothing an author writes is accepted or refused differently.
  • Published surface: the text of two files of the @objectstack/skills bundle. Hunk by hunk:
    1. objectstack-data, Quick Reference: the Index Strategy line loses ", partial indexes". Right. The Index Patterns pointer further down the same file still sends "partial / gin / gist indexes at the database layer" to the same rules file, and rules/indexing.md teaches that a declared partial is retired, so no route is lost.
    2. objectstack-data, the pair-only sentence: the key list grows from two to three. Right. CUSTOM_ARRANGEMENT_KEYS (packages/spec/src/data/field-customization.ts) is ['fieldGroups', 'relatedLists', 'actionLayout']. One judge (judgeExtensionArrangement, packages/metadata-protocol/src/protocol-extension-arrangement.ts) refuses each of the three outside a .custom package at the save, the os validate / os build and the install doors, so "refused at those doors" holds for the third key. "shaped as on an object" holds too: ObjectExtensionSchema.actionLayout is the object's own OBJECT_ACTION_LAYOUT_SCHEMA.
    3. Same hunk: "both keys" becomes "they", so the two statements that follow the key list now cover actionLayout. Wrong for that key: S1 in ④.
    4. Same hunk: "may also write" becomes "also writes", and the second "still shows" is elided. Right, the meaning is kept ("an unlisted field shows after the last group, an unnamed tab after the listed ones").
    5. objectstack-automation, trap 4: the sentence "A label in a filter or an edge condition is never checked: it silently matches nothing" goes, and the edge condition and the filter join the start condition and fields under "refused at publish (inline options)". Right, position by position in ④.
    6. Same hunk: the clause on a filter meant to find the label is new. Right for a CRUD node's filter; wording in ④, N1.
  • Derived artefacts: none in the diff, none owed. The skills token ratchet script is not in the file list, so no ceiling moved, which is the condition card skills: the actionLayout teaching overstates where os validate judges a name, and objectstack-data omits actionLayout from the pair-only keys #37057 sets. The skill docs and refs gates ride the required jobs, and those are green on this head.

② Semver level

.changeset/37057-skill-sentences-follow-lint.md moves @objectstack/skills at patch. Right: the diff publishes corrected text in a released package and nothing else, so it takes a patch and never skip-changeset. Clause-②: no is right, no accept set or export changes. Metadata-protocol: none is right, nothing a metadata author can write changes. Both lines stand line-initial in the PR body and in the changeset body, and Check Changeset is success on the head. The changeset's paragraph on objectstack-data ("it now names actionLayout too, with a pointer to objectstack-ui") stays true under either way of closing S1.

③ Boundary flags

Check-runs on the head: 44 runs, 28 success, 16 skipped, none red and none pending. They are the answer to every derived gate; nothing was run again here.

Dev flags, from the deviations of os-dev-report 7192852241:

  • The paying cut sits on line 38, outside the sentence the claim names. Answered: it is inside the claimed file, and a same-file paydown is what the card's ratchet condition asks for. The cut is judged right in ① (hunk 1).
  • Two dist-reading gates not measured locally and two swept in part. Answered by the head's check-runs: Build Core, the job that hosts those gates in CI, is success.
  • test:repo not run locally. Answered: Test Core is success.
  • The deepened shared history, the REST reads, the model-free commit trailers and the foreground CI wait: process notes with no effect on the diff. The trailer form is the one AGENTS.md asks for.

open_questions: the report carries none.

The report's out-of-scope findings and the PR's acceptance notes:

  • Card flow-condition-option-label now reads filters and edge conditions: the automation skill's trap sentence and the os explain text still describe the start condition only #37504 item 2 (the os explain text) stays on its card. Right: the PR body links that card with Part of, item 1 only, so it stays open.
  • "Two sentences read a little wide for actionLayout", noted and not filed. Not accepted as a note: the diff itself creates the widening, and one half of it names a remedy the platform refuses. Graded in ④ as S1.
  • The "(inline options), else" frame for an edge condition on a variable the rule does not judge. Accepted. Read as "refused, or else it matches no row", the sentence holds in every case: a label the rule does not judge (options not inline, or an edge condition on a variable bound by anything but one single-row get_record) still matches no row. What the reader is told to do, compare and write the value and read the field's options, is right in all of them.
  • The sentence names the edge condition and not a decision node's conditions[].expression. Accepted: the skill's node table teaches decision as "Branch by edge condition predicates, not node config", so the sentence names the spelling the skill teaches.
  • Skill evals not measured (no model runner). Accepted as declared; the eval cases were read against the new text in ④.
  • Overlap with the open draft PR docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 on both files: a landing-order matter the claim already declares, with no effect on the contract.

SQL push-down: nothing to check, the diff adds no query path, no id materialisation and no join.

Author: the PR was opened by the fleet relay account, so there is no off-relay author to name.

Security arm: no changed hunk teaches permission, sharing, credential, token or authentication behaviour. The pair-only sentence is a package-ownership rule over presentation keys (field groups, tabs, button order) and grants or withholds no data access; the automation hunk is a lint refusal. Neither card carries the security label.

④ Design judgment

skills/objectstack-automation/SKILL.md (trap 4): holds against the rule on main.

  • Start condition: validateFlowTriggerReadiness step 1-iii, error, on a record-change start that names its object.
  • Edge condition: optionLabelsBeyondStart, error, on the trigger record of a record-change or time-relative flow (the sentence's own example, record.status) and on a row a single-row get_record bound.
  • filter: the same function, for every node type in FILTER_NODE_TYPES (get_record, update_record, delete_record), at a field's implicit equality, $eq / $ne and the members of $in / $nin.
  • fields: flow-node-write-unknown-option, error, and where it is not judged the record validator's invalid_option at run time.
  • "(inline options)": selectOptionsOf (flow-select-options.ts) judges a field only with an inline, non-empty options and no shared picklist.
  • "refused at publish": the registry row for validateFlowTriggerReadiness in authoring-rules.ts is tier: 'gating' on the CLI and the runtime publish gate for flows, and the spec's upgrade-guide entry publish-refuses-flows-that-save-and-do-not-run names these positions and says the next publish is refused.
  • The new clause: optionLabelOperands judges plain-string operands only, and resolveNodeFilter (packages/services/service-automation/src/builtin/crud-nodes.ts) evaluates an operand envelope before the query, so on a CRUD node's filter an envelope that yields the label does find rows holding it.

Against the scenario: card #37504 item 1 asks for two facts, that the label is refused by os validate and the publish gate, and that the way out for a deliberate label filter is a CEL value envelope. Both are in the sentence. The skill's eval case on a status label (the customer-status prompt in flows-triggers-approvals.json) expects the stored value in the start condition, which the heading and the sentence still teach. None of the removed phrases is an eval token.

skills/objectstack-data/SKILL.md: the key list, the doors and the paying cut hold (①, hunks 1, 2 and 4); one finding. Eval case 27 of objects-fields-relationships.json reads the same after the change: its must_contain tokens (hotcrm.custom, defineObjectExtension, extend: 'crm_account', relatedLists, hidden: true, place:) are all still taught, the last three for the two list keys in this sentence.

No must-fix.

S1 (should-fix) — objectstack-data: the two statements after the key list now cover actionLayout, and both are wrong for it.

On main the sentence scoped both statements to "both keys" (fieldGroups, relatedLists), and both were exact. The diff adds actionLayout to the subject and turns "both keys" into "they", so the published text now says of actionLayout:

  1. "A written key replaces that arrangement whole (the owner's and every place)." The docblock the PR cites says otherwise in the same paragraph: "actionLayout replaces the owner's arm for each scope it writes (list, record), and an arm it does not write stays" (CUSTOM_ARRANGEMENT_KEYS). The registry fold (registry-custom-arrangement.ts) and the key's own doc on ObjectExtensionSchema say the same: arm by arm, an arm left out stays.
  2. "Outside a .custom package they are refused at those doors: use place." The refusal is right and the remedy is not. The one judge prescribes per key (PRESCRIPTION, protocol-extension-arrangement.ts), and for actionLayout it is "place an action this package brings by the action's own locations and order". place has no action form: ObjectExtensionPlacementSchema is a union of a field, a list and a group placement, each a strict object. An agent in a package that is not .custom is sent by the skill to place, which has no entry for an action, and the skill then disagrees with the refusal text that same author is shown.

Why this is a finding and not a note. The acceptance notes rest on the pointer to objectstack-ui and on one token of headroom. The pointer does carry the per-arm rule ("each arm whole"), which softens the first half. It does not undo the remedy the sentence names, and the two statements were exact until this diff widened their subject. The first item of card #37057 was filed because a skill sentence said more than the code does; the fix for its second item should not leave the same form behind on the key it adds.

What closes it: either keep the two statements on the two list keys and name actionLayout as pair-only apart from them, or qualify both for actionLayout (each arm; an action's own locations and order). Paid for in the same file with no ceiling raised, as the card requires, and with what eval case 27 reads kept: "use place" for the list keys, hidden: true and the unnamed-tab clause.

N1 (nit) — objectstack-automation: "a filter meant to find the label takes a CEL envelope operand" is true as written, and shorter than its source in a way that can mislead. The rule's docblock words the case as "A filter that means to find rows still holding a label (a clean-up after an options change)". Without "rows still holding", the clause can be read as the way to filter by a label, and an envelope around a label is a spelling the rule does not judge: it passes the gate and matches no row. The trap's heading and "Read the field's options" bound that reading, so this has no effect on what the sentence states. If the fix for S1 moves the head anyway, a wording closer to the docblock can ride the same commit; otherwise it is an accepted deviation.

A note outside the diff, read and not reviewed, for the seat to weigh. The lint docblock gives the envelope as the way out for "a filter", and the rule reads two filter positions. At timeRelative.filter the sweep hands the map to the data engine as written (buildWindowWhere, packages/triggers/trigger-schedule/src/time-relative-trigger.ts), and I found no envelope evaluation on that path, so the way out works at a CRUD node's filter only. This comes from reading the code, not from a run. The skill sentence pairs filter with fields, and trap 1 names "every CRUD filter operand" as the envelope slot, so the sentence reads on the CRUD filter and nothing is raised on the diff for it.

S1 is open on this head: the fix owes a delta review, and the guard does not clear this record until a later record closes S1 by id.

Implemented-by: claude/issue-37057-skill-sentences-follow-lint
Reviewed-by: session_01L6bhgV6i8jfWwSXjpWJrjA

VERDICT: PASS

…sentences for actionLayout; the automation label-filter clause says rows still holding the label

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgVUz5oS8fMgmncxU96
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 5040c6d6e4127220756cbf549c259c9e2ffbfb8d
Local-runs: none
Scope: skills/objectstack-data/SKILL.md, skills/objectstack-automation/SKILL.md + none
Security-touching: no

Delta review, rendered by an isolated review agent. It covers the one commit between head 3f3ea1c913 and this head, read on top of the full record on that head (record 7193228650, which left S1 open and N1 as a nit). Inputs: that record, card #37057 and card #37504 with every comment (the dev report of this round, 7193663052, included), this PR's body and file list, the diff between the two heads, the net diff against main at this head, and the check-runs on this head. Read 2026-11-26T13:47Z against origin/main at 4116465625; neither reviewed file and none of the code cited below moved between the PR base 1af67b26cd and that commit. What the full record judged and this commit does not touch stands as judged there. No file in the diff implements or enforces the two skill files, so the scope adds none; the code named below sits outside the diff and was read, not reviewed.

① Derived judgments

  • Accept set: unchanged. Right. The commit touches the same three files as before, one changeset and two SKILL.md. No schema, lint rule, runtime or gate file moves.
  • Published surface: the text of the same two files of the @objectstack/skills bundle. The commit, hunk by hunk:
    1. objectstack-data, Quick Reference: the Naming Conventions and Field Types lines keep their links and lose their glosses ("snake_case rules, option values, config properties", "All field types and configs"). Right. "Naming Rules Summary" in the same file names the same three things (snake_case names, camelCase schema properties, lowercase option values) and links rules/naming.md; "Field Type Selection" links rules/field-types.md. Both link targets and both link titles stay. One word of the second gloss is not carried anywhere: N2 in ④.
    2. objectstack-data, the pair-only sentence: the parenthetical after "replaces that arrangement whole" gains "actionLayout, each arm it writes". Right, checked in ④.
    3. Same sentence: the remedy "use place" gains "or for an action its own locations and order". Right, checked in ④.
    4. Same paragraph: rewrapped, one line longer (471 to 472 lines in the file). Right: no heading moves, and the hosted door reads this file by heading (packages/spec/scripts/skill-served-sections.json: Object Definition, Field Type Selection, Relationship Patterns, Validation Patterns), none of which the diff touches.
    5. objectstack-automation, trap 4: "a filter meant to find the label" becomes "a filter for rows still holding the label". Right, it is the rule docblock's own wording (④).
    6. The changeset body follows the two sentences and the three paying cuts. It is true against the tree.
  • Net diff against main at this head: the same three files, 25 lines added and 12 removed. The hunks of the first commit that this one leaves alone (the key list, "also writes", "they", the elided "still shows", the Index Strategy cut, the automation sentence up to its last clause) read as the full record judged them.
  • Derived artefacts: none in the diff, none owed. The skills token ratchet script is still not in the file list, so no ceiling moved. The two generated skill listings (skills/README.md, content/docs/ai/skills-reference.mdx) are built from each skill's frontmatter (packages/spec/scripts/build-skill-docs.ts), which the diff does not touch.

② Semver level

Unchanged and still right: .changeset/37057-skill-sentences-follow-lint.md moves @objectstack/skills at patch, for corrected text in a released package. Clause-②: no and Metadata-protocol: none still stand line-initial in the PR body and in the changeset body, and both are right: no accept set, export or authorable key changes. Check Changeset is success on this head, on the push and again after the PR body was rewritten.

③ Boundary flags

Check-runs on this head: 48 runs, 30 success, 18 skipped, none red and none pending. 44 belong to the push (28 success, 16 skipped). 4 belong to the later rewrite of the PR body: Check Changeset and the PR-body guards are success, Auto Label and Check PR Size skipped. They are the answer to every derived gate, the token ratchet and the skill docs, links and served-sections gates among them; nothing was run again here.

Dev flags, from the deviations of os-dev-report 7193663052:

  • The dev did not patch the PR body and handed the replacement to the seat. Answered: the body on the PR now describes head 5040c6d6e4 (both qualifiers, the three paying cuts, readings and gates at this head), and the PR-body guards ran green on it. The record judges the tree; the one place the body says a little more than the tree is named in ④ under N2.
  • One dist-reading gate not measured locally and three swept in part. Answered by the head's check-runs: Build Core is success.
  • The worktree was rebuilt from the remote branch for this round. A process note with no effect on the diff; the diff between the two heads holds nothing but the fix.

open_questions: the report carries none.

The report's one out-of-scope finding: the full record's note that the CEL envelope way out is evaluated at a CRUD node's filter and, as far as the code reads, not at timeRelative.filter stands unmeasured. Answered, and passed to the seat: it is a statement about the lint docblock and the time-relative sweep, both outside this diff, and this commit does not move it (the clause still pairs filter with fields, the CRUD position). It does not hold this PR. On main the sweep still spreads desc.filter into the query as written (buildWindowWhere, packages/triggers/trigger-schedule/src/time-relative-trigger.ts) while the FLOW_CONDITION_OPTION_LABEL docblock offers the envelope for "a filter" and names the sweep's filter among the positions it reads. If the seat reads the same, that is a card of its own through the filing gate, against the docblock or the sweep, not against this skill sentence.

SQL push-down: nothing to check, the diff adds no query path, no id materialisation and no join.

Author: the PR was opened by the fleet relay account, so there is no off-relay author to name.

Security arm: no changed hunk teaches permission, sharing, credential, token or authentication behaviour. The two qualifiers are about which package arranges an object's buttons and how another package places its own action (presentation keys); the automation clause rewords a lint way out. Neither card carries the security label.

④ Design judgment

S1: closed

The full record asked for one of two things: keep the two statements on the two list keys, or qualify both for actionLayout. The commit takes the second, and both qualifiers hold against the code on main:

  1. "A written key replaces that arrangement whole (the owner's and every place; actionLayout, each arm it writes)". The CUSTOM_ARRANGEMENT_KEYS docblock (packages/spec/src/data/field-customization.ts): "actionLayout replaces the owner's arm for each scope it writes (list, record), and an arm it does not write stays". The registry fold (packages/objectql/src/registry-custom-arrangement.ts): "each arm it writes (list, record) replaces the arm the result of 1–2 serves for that scope, whole; an arm it does not write stays". The skill now says per arm where the code says per arm, and objectstack-ui, which the sentence points at, says the same ("each arm whole").
  2. "use place, or for an action its own locations and order". The actionLayout entry of PRESCRIPTION (packages/metadata-protocol/src/protocol-extension-arrangement.ts): "place an action this package brings by the action's own locations and order". Both are keys of the action schema (packages/spec/src/ui/action.zod.ts). The skill and the refusal text an author is shown now name the same remedy, and no reader is sent to place for an action.

The conditions the full record set for the fix hold too. It is paid for in the same file, and the ratchet script is not in the diff. What eval case 27 of objects-fields-relationships.json reads is kept: the pair's extension as the only writer, "replaces ... whole (the owner's and every place)" for the tab list, the unnamed tab after the listed ones, { list: 'crm_note', hidden: true }, and "use place" as the first remedy.

Tried against the new text, and it held:

  • Does "each arm it writes" overstate? No: an arm left out stays, in the docblock and in the fold, and the sentence claims nothing about an unwritten arm.
  • Does the new remedy clash with objectstack-ui, whose eval on button order rejects "an order renumbering on each action"? No. That case is the object's owner, who has actionLayout; this sentence is a package outside .custom, which is refused the key and has only its own action's placement. The two authors are different and each is told what the code gives it.
  • Does the semicolon in the parenthetical blur the list keys' rule? No: the half before it is the text main carries, word for word, and the examples after the colon are still the field and tab ones.

No must-fix, no should-fix.

N1 of the full record is answered as well: "a filter for rows still holding the label takes a CEL envelope operand" keeps the sense of the rule's docblock ("A filter that means to find rows still holding a label (a clean-up after an options change) spells the operand as a CEL value envelope, which is not judged", packages/lint/src/validate-flow-trigger-readiness.ts), so the clause no longer reads as the way to filter by a display label. The rest of trap 4 is unchanged from the head the full record judged.

N2 (nit) — objectstack-data, Quick Reference: with its gloss gone, nothing in SKILL.md says that rules/field-types.md also holds the per-type configurations (its "Common Field Configurations": currency, lookup, formula, autonumber). "Field Type Selection" points at the file as "the rest" of the field types, which is less than "All field types and configs" said, so the PR body's "say the same" is exact for the naming line and a little generous for this one. No effect on correctness or on the contract: the link, its title and the file are unchanged, and a reader looking for a field's configuration still opens Field Types. The naming cut loses nothing. Left as an accepted deviation is the right outcome; a fix would move a reviewed head for one word.

A note outside the diff, read and not reviewed. The new remedy names an action's order, and no shipped skill teaches that key (skills/objectstack-ui/rules/actions.md teaches locations). It is an optional number on the action schema, lower sorts first, and the refusal text itself carries a worked example, so the sentence is right as written and nothing is raised on the diff for it. If the seat wants the key taught, objectstack-ui is where it would go.

S1 is closed on this head and nothing new is raised above a nit, so the round ends here.

Implemented-by: claude/issue-37057-skill-sentences-follow-lint
Reviewed-by: session_01L6bhgV6i8jfWwSXjpWJrjA

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

席位核对 — ACCEPT · head 5040c6d · card #37057 (+ #37504 item 1) · area s2-ai · 2026-11-26T13:51Z

L1 checklist

  • Shape and relation: l1-face.mjs --pr 37551 CLEAN on 13 items. At 5040c6d there are 30 success, 18 expected skips, 0 failed, 0 pending; Lint & Repo Gates and TypeScript Type Check are success; mergeable_state is clean. 37 changed lines.
  • Fixes #37057 is right: the card's one sentence (objectstack-data's pair-only key list lacks actionLayout) is delivered. Part of #37504 is also right: only item 1 rides here, the automation trap sentence. Item 2, the os explain text, stays on that card, which keeps pm:dispatched (landing rule B).
  • Scope: 3 files, all on the two cards. They are skills/objectstack-data/SKILL.md, skills/objectstack-automation/SKILL.md, and the changeset (@objectstack/skills patch). The added sentence is paid for in the same file by three Quick Reference lines that repeated the body, so no ratchet ceiling moves.
  • Sentence-by-sentence read of the changeset: it matches both hunks. actionLayout replaces each arm it writes, and outside a .custom package an action is placed by its own locations / order. In flows, a label in a filter or an edge condition is refused at publish, as flow-condition-option-label now reads those positions, and a filter for rows still holding the label takes a CEL envelope operand.
  • L2:
    • The first Contract review record 7193228650 was a PASS with S1 (should-fix) open: the actionLayout per-arm qualifier and the remedy.
    • The delta record 7193866918 at CONTRACT_REVIEW_TIER on this head is a PASS. It records S1: closed and N1 answered, with no must-fix and no should-fix.
    • New nit N2, accepted as a deviation: with the Field Types gloss cut, SKILL.md no longer says that rules/field-types.md also holds the per-type configurations. The rules file itself is unchanged and still listed.
    • The record carries two notes outside this diff: the timeRelative.filter docblock vs the sweep, and that no shipped skill teaches the action order key. The seat weighs them for a card of their own; neither is held against this PR.
  • Governed: check-governed-merges.mjs reads Tier H (skills/**), 37 lines.

Tier: H. Landing: hand-off to the approver by the next stroke; ⛔ the seat does not merge.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Tier H hand-off · 2026-11-26T13:52Z · head 5040c6d · approver os-zhuang

维护者速读

  • 改了什么:对外发布的两份技能各改一句话。数据技能(objectstack-data)讲"只有配对的 .custom 扩展才能写的键"时漏了 actionLayout,现在补上,并说明这个键按"每个区域整段替换"生效;没有 .custom 包时,动作的位置由动作自己的 locations / order 决定。自动化技能(objectstack-automation)原来说流程过滤条件和连线条件里写选项的显示名"不会被检查",但检查规则已经能读这两处了,所以改成"发布时会被拒绝",并写明想筛出还留着旧显示名的记录该怎么写。
  • 影响:用这两份技能写应用的 AI 读到的说明和平台实际行为一致,不会再写出发布时才被拒的流程条件,也不会漏掉动作布局这个键。代码和平台行为都不变。为了不超出技能篇幅上限,删掉了速查表里三行与正文重复的内容。
  • 审核:席位 L1 ACCEPT(本评论前一条);契约审核档 L2 首轮 PASS 7193228650 留一条建议改,修后复审 PASS 7193866918,已关,剩一条细节小意见已接受。
  • 要你做什么:这是受管的 skills/** 面,需要你批准后才能合并。撤回这一次合并即可恢复原文。

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 26, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 26, 2026 13:53
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 6c290d3 Nov 26, 2026
54 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-37057-skill-sentences-follow-lint branch November 26, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

skills: the actionLayout teaching overstates where os validate judges a name, and objectstack-data omits actionLayout from the pair-only keys

3 participants